﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuiLian.Service.Platform.LoginCount.Output
{
    public class LoginCountListOutput
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 年月
        /// </summary>
        public DateTime MonthDate { get; set; }

        /// <summary>
        /// 月份
        /// </summary>
        public string Month 
        {
            get
            {
                return $"{MonthDate.Month}月";
            }
        }

        /// <summary>
        /// 登录次数
        /// </summary>
        public long Count { get; set; }
    }
}
